import { useState } from "react"
function App(){
    const[value,setValue] = useState('Hello')
    console.log(value)
    function onChange(e){
        console.log(e.target.value)
        setValue(e.target.value.toUpperCase())
    }
  return(
    <input type="text"value={value}onChange={onChange} />
  )
}
export default App
